package com.nbot.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.nbot.server.mapper.master.EverytwohoursproductionMapper;
import com.nbot.server.domain.EverytwohoursproductionDO;
import com.nbot.server.service.EverytwohoursproductionService;



@Service
public class EverytwohoursproductionServiceImpl implements EverytwohoursproductionService {
	@Autowired
	private EverytwohoursproductionMapper everytwohoursproductionMapper;
	
	@Override
	public EverytwohoursproductionDO get(Long autoid){
		return everytwohoursproductionMapper.get(autoid);
	}
	
	@Override
	public List<EverytwohoursproductionDO> list(Map<String, Object> map){
		return everytwohoursproductionMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return everytwohoursproductionMapper.count(map);
	}
	
	@Override
	public int save(EverytwohoursproductionDO everytwohoursproduction){
		return everytwohoursproductionMapper.save(everytwohoursproduction);
	}
	
	@Override
	public int update(EverytwohoursproductionDO everytwohoursproduction){
		return everytwohoursproductionMapper.update(everytwohoursproduction);
	}
	
	@Override
	public int remove(Long autoid){
		return everytwohoursproductionMapper.remove(autoid);
	}
	
	@Override
	public int batchRemove(Long[] autoids){
		return everytwohoursproductionMapper.batchRemove(autoids);
	}

	@Override
	public List<EverytwohoursproductionDO> listByDAS(String date, String station) {
		return everytwohoursproductionMapper.listByDAS(date,station);
	}

	@Override
	public List<EverytwohoursproductionDO> listWeiZhi() {
		return everytwohoursproductionMapper.listWeiZhi();
	}
}
